/**
 * @(#)AllMiguUserDAOImpl.java 2017年11月14日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.dao.impl;

import java.util.List;

import org.jsbd.boss.dao.IMiguUserDAO;
import org.jsbd.boss.domian.channel.MiguUser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import edu.hziee.common.queue.IBatchExecutor;

/**
 * 第三方咪咕账号
 * 
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
@Service("allMiguUserDAO")
public class AllMiguUserDAOImpl extends CrackUserBaseDao implements IMiguUserDAO {
	public static final Logger LOGGER = LoggerFactory.getLogger(AllMiguUserDAOImpl.class);

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.jsbd.boss.dao.IMiguUserDAO#batchInsertMiguUsers(java.util.List)
	 */
	@Override
	public void batchInsertMiguUsers(List<MiguUser> records) {
		super.batchInsert("qy_all_migu_user.INSERT_USER", records);
	}


	/*
	 * (non-Javadoc)
	 * 
	 * @see org.jsbd.boss.dao.IMiguUserDAO#selectUser(java.lang.String)
	 */
	@Override
	public MiguUser selectUser(MiguUser miguUser) {
		return (MiguUser) super.queryForObject("qy_all_migu_user.SELECT_USER_INFO", miguUser);
	}

	@Override
	public List<MiguUser> selectUserList(MiguUser miguUser) {
		return super.queryForList("qy_all_migu_user.SELECT_USER_LIST", miguUser);
	}

	@Override
	public List<MiguUser> selectSixUserList(MiguUser miguUser) {
		return super.queryForList("qy_all_migu_user.SELECT_SIX_USER_LIST", miguUser);
	}
}
